package hflyeer.o2o.biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import hflyeer.o2o.biz.service.AreaService;
import hflyeer.o2o.model.dao.AreaDao;
import hflyeer.o2o.model.entity.Area;

@Service("AreaService")
public class AreaServiceImpl implements AreaService {
	
	@Autowired
	private AreaDao areaDao;

	@Override
	public List<Area> getAreas() {
		List<Area> areaList = areaDao.queryForList();
		return areaList;
	}

}
